import { MockMethod } from 'vite-plugin-mock';

export default [
  {
    url: '/mock-api/v1/upload',
    timeout: 100,
    method: 'post',
    response: ({ query }) => {
      return {
        url: 'http://www.lvais.com/upload/2024/08/19/20240819110721833.jpg',
        code: 200,
        message: 'ok',
      };
    },
  },
] as MockMethod[];
